﻿namespace Repositories.BDS;

/// <summary>
/// 场地树
/// </summary>
public class SiteTree
{
    /// <summary>
    /// 主键
    /// </summary>
    public int id { get; set; }
    /// <summary>
    /// 场地名
    /// </summary>
    public string name { get; set; }
    /// <summary>
    /// 节点类型
    /// </summary>
    public int nodetype { get; set; }
    /// <summary>
    /// 排序
    /// </summary>
    public int sort { get; set; }
    /// <summary>
    /// 内容
    /// </summary>
    public string text { get; set; }
    /// <summary>
    /// 场地类型
    /// </summary>
    public int site_type{ get; set; }
    /// <summary>
    /// 是否选中
    /// </summary>
    public bool selected { get; set; }
    /// <summary>
    /// 场地照片
    /// </summary>
    public string photo { get; set; }
    /// <summary>
    /// 节点
    /// </summary>
    public List<SiteTree> nodes { get; set; }
    /// <summary>
    /// 1 正常 2 全部异常 3 部分异常
    /// </summary>
    public int site_device_status { get; set; }
}
